/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "物料台账",TableName = "MaterialLedger")]
    public partial class MaterialLedger:BaseEntity
    {
        /// <summary>
       ///主键Id
       /// </summary>
       [Key]
       [Display(Name ="主键Id")]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int Id { get; set; }

       /// <summary>
       ///二维码/条形码
       /// </summary>
       [Display(Name ="二维码/条形码")]
       [MaxLength(30)]
       [Column(TypeName="varchar(30)")]
       public string QRCode { get; set; }

       /// <summary>
       ///物料编码
       /// </summary>
       [Display(Name ="物料编码")]
       [MaxLength(30)]
       [Column(TypeName="varchar(30)")]
       public string MaterialCode { get; set; }

       /// <summary>
       ///物料描述
       /// </summary>
       [Display(Name ="物料描述")]
       [MaxLength(30)]
       [Column(TypeName="varchar(30)")]
       public string MaterialDescription { get; set; }

       /// <summary>
       ///批次
       /// </summary>
       [Display(Name ="批次")]
       [MaxLength(30)]
       [Column(TypeName="varchar(30)")]
       public string Batch { get; set; }

       /// <summary>
       ///规格型号
       /// </summary>
       [Display(Name ="规格型号")]
       [MaxLength(30)]
       [Column(TypeName="varchar(30)")]
       public string SpecificationType { get; set; }

       /// <summary>
       ///物料类型
       /// </summary>
       [Display(Name ="物料类型")]
       [Column(TypeName="int")]
       public int? MaterialType { get; set; }

       /// <summary>
       ///工艺线路
       /// </summary>
       [Display(Name ="工艺线路")]
       [Column(TypeName="int")]
       public int? ProcessLine { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [Column(TypeName="int")]
       public int? State { get; set; }

       
    }
}